package com.study.tx.common.entity;

import org.springframework.context.ApplicationEvent;

/**
 * 类的描述
 *
 * @author Administrator
 * @date 2022-08-29
 */
public class MyOrderItemTransactionEvent extends ApplicationEvent {
    private OrderItem orderItem;

    public MyOrderItemTransactionEvent(Object source, OrderItem orderItem) {
        super(source);
        this.orderItem = orderItem;
    }

    public OrderItem getOrderItem() {
        return orderItem;
    }
}
